
const Tool = {
  showToast: (string, timeNumber) => {
    if (!timeNumber) {
      timeNumber = 2000;
    } else {
      timeNumber = timeNumber * 1000;
    }

    $('#toast').text(string);
    $('#toast').fadeIn();
    setTimeout(() => { $('#toast').fadeOut(); }, timeNumber);
  },


};



export default Tool;



